//发票中心
import request from '@/utils/request';

// 查询发票中心列表
export function listBill(query) {
  return request({
    url: '/system/invoiceManagement/list',
    method: 'post',
    data: query
  })
};

//批量删除发票
export function delBill(query) {
  return request({
    url: '/system/invoiceManagement/batchDelete',
    method: 'post',
    data: query
  })
};

//修改发票
export function updateBill(query) {
  return request({
    url: '/system/invoiceManagement/update',
    method: 'post',
    data: query
  })
};

//新增发票
export function addBill(query) {
  return request({
    url: '/system/invoiceManagement/insert',
    method: 'post',
    data: query
  })
};

//发票经手人员列表（渲染下拉列表）
export function billManager(query) {
  return request({
    url: '/system/user/managerUser',
    method: 'get',
    params: query
  })
};



